<extend name="Base/common"/>
<block name="header">
    <include file="Public/_nav"/>
   <link href="__CSS__/course.css" rel="stylesheet" type="text/css"/>
    <script type="text/javascript" src="__JS__/common.js"></script>
</block>


<block name="body">

      <!--   <include file="Public/_hot_sell"/> -->
        <!-- 左侧菜start -->
        <div class="col-md-2">            
          <include file="Public/wsidebar"  />
        </div>
        <!-- 左侧菜end -->
  <!--右栏start-->
  <div class="col-md-10 content">
   <div class="row"> 
    <ul class="nav nav-tabs">
    <li class="active"><a href="{:U('Wckczuoye/index')}"><i class="icon icon-home"></i>首页</a></li>
      <li><a href="{:U('Wckczuoye/addFile')}">我要交作业</a></li>
      <li><a href="{:U('Wckczuoye/search')}">作业检索</a></li>
      <li><a href="{:U('Wckczuoye/editCourse')}">课程管理</a></li>
      <li><a href="{:U('Wckczuoye/student')}">学生管理</a></li>
      <li><a href="{:U('Wckczuoye/myupload','id='.$vo['id'])}" >我的文档</a></li>
   </ul>
  <!--内容栏start-->  
    
	       <div class="col-md-12">
	       <h4 style="color:#5A81A8"><i class="icon icon-th-large"> </i>同学的作业<a href="__SELF__"></a> </h4>
	       </div>
	      <foreach name='list' item='vo'>
		         <div class="col-md-6">
				    <div class="panel panel-info">
					   <div class="panel-heading">
					      <h5 class="panel-title">
					      <a href="{:U('Wckczuoye/search','cid='.$vo['id'])}">各组{$vo.cate}</a>
					      <span class="pull-right icon icon-forward"></span></h5>					
					   </div>
					   <div class="panel-body subjectlist">
					      	 <ol>
					      	 <foreach name='vo.postlist' item="v">
						    <li><a href="{:U('Wckczuoye/detail','id='.$v['id'])}">{$v.title|msubstr=0,22,'utf-8',true}</a><span class="pull-right">{$v.teacher}  {$v.update_time|date='m-d',###}</span></li>
						    </foreach>
						    </ol>
					   </div>
					</div>
		         </div>
  	         </foreach>
     </div>
   <!--内容栏end-->
     </div>
 <!--右栏end-->
  </block>